package cn.zhf.shop.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import lombok.Value;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value = "cn-zhf-shop-entity-Stage")
@Data
public class Stage {
    /**
     * 申请编号
     */
    @ApiModelProperty(value = " 申请编号 ")
    private String id;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = " 订单编号 ")
    private String orderId;

    /**
     * 客户姓名
     */
    @ApiModelProperty(value = " 客户姓名")
    private String userName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = " 手机号 ")
    private String userPhone;

    /**
     * 身份证号
     */
    @ApiModelProperty(value = " 身份证号")
    private String userIdCard;

    /**
     * 申请日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = " 申请日期 ")
    private Date createDate;

    /**
     * 总额
     */
    @ApiModelProperty(value = " 总额 ")
    private String totalPrice;

    /**
     * 期数
     */
    @ApiModelProperty(value = " 期数")
    private Integer period;

    /**
     * 状态
     */
    @ApiModelProperty(value = " 状态 ")
    private Integer state;
}